po: Add a rule to generate files
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Apr 2013 00:06:52 +0000 (20:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Apr 2013 00:11:41 +0000 (20:11 -0400)
This should help translators generate an updates pot file.
Just doing make -C po gtk30.pot should work now, no need to
build the entire module.

po/Makefile.in.in

index 149721200ee51f3f2cc54a9b4f35abb5d8fcd890..577c0ab1584be6c38dba2245b525e5ede51c4f78 100644 (file)
@@ -68,6 +68,9 @@ INSTOBJEXT = @INSTOBJEXT@
 .SUFFIXES:
 .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
 
+$(filter %.ui.h, $(POTFILES)):
+       $(MAKE) -C ../gtk gtkresources.c
+
 .c.o:
        $(COMPILE) $<